import localforage from 'localforage'
import { APP_PREFIX } from "../config"

const IP_KEY = APP_PREFIX + 'ip_key'

export const setIP = (val) => {
  return localforage.setItem(IP_KEY, val)
}

export const getIP = () => {
  return localforage.getItem(IP_KEY)
}
